package nimble.springboot.data;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class UserService {

    @Autowired
    private UserRepository userRepository;

    public User test()
    {
        User user=userRepository.findById("2");
        return user;
    }
}
